<!DOCTYPE HTML>
<html>
<head>
<style>

    body {
        background: red;
    }

    div {
        margin: 20px;
        width: 60px;
        height: 60px;
    }

    .parent {
        opacity: 0.99;
        float: left;
        background: violet;
    }

    .child {
        background: url('resources/ducky.png') no-repeat 0 0 /100% 100%, green;
    }

</style>
<!-- Test to ensure that blending is performed only with the contents of the element's nearest ancestor stacking context.
    Test this with a parent element that has opacity set. -->
<body>
    <div class="parent">
        <div class="child" style="mix-blend-mode: normal;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: multiply;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: screen;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: overlay;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: darken;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: lighten;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: color-dodge;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: color-burn;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: hard-light;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: soft-light;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: difference;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: exclusion;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: hue;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: saturation;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: color;"></div>
    </div>
    <div class="parent">
        <div class="child" style="mix-blend-mode: luminosity;"></div>
    </div>
</body>
</html>
